package com.chainyoung.common.appcommon.entity;

import java.io.Serializable;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * 本地钱包代币缓存
 */
public class HdWalletTokenCache extends RealmObject implements Serializable {

    private String address;//钱包地址(以太坊地址)

    @PrimaryKey
    private String contractAddress;//合约地址

    private String tokenName;//代币名称

    private String tokenSymbol;//代币Symbol

    private String balance="0";//代币余额

    private String banlanceCny = "0";// 余额 人民币

    private String balanceEth="0";//余额 以太坊



    public HdWalletTokenCache() {

    }


    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContractAddress() {
        return contractAddress;
    }

    public void setContractAddress(String contractAddress) {
        this.contractAddress = contractAddress;
    }

    public String getTokenName() {
        return tokenName;
    }

    public void setTokenName(String tokenName) {
        this.tokenName = tokenName;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getBanlanceCny() {
        return banlanceCny;
    }

    public void setBanlanceCny(String banlanceCny) {
        this.banlanceCny = banlanceCny;
    }

    public String getBalanceEth() {
        return balanceEth;
    }

    public void setBalanceEth(String balanceEth) {
        this.balanceEth = balanceEth;
    }

    public String getTokenSymbol() {
        return tokenSymbol;
    }

    public void setTokenSymbol(String tokenSymbol) {
        this.tokenSymbol = tokenSymbol;
    }
}
